
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui"
      xmlns:sef="http://agileClinic.com.br">

    <f:view contentType="text/html">
        <h:head>
            <f:facet name="first">
                <meta http-equiv="X-UA-Compatible" content="EmulateIE8" />
                <meta content='text/html; charset=UTF-8' http-equiv="Content-Type"/>

            </f:facet>
            <link rel="shortcut icon" href="imagens/favicon.ico" />
            <link rel="icon" type="image/png" href="imagens/favicon.ico" />
            <link href="./resources/css/default.css" rel="stylesheet" type="text/css" />
            <link href="./resources/css/cssLayout.css" rel="stylesheet" type="text/css" />
            <link href="./resources/css/default1.css" rel="stylesheet" type="text/css" />
            <style type="text/css">
                .ui-layout-north {
                    z-index:20 !important;
                    overflow:visible !important;
                }

                .ui-layout-north .ui-layout-unit-content {
                    overflow:visible !important;
                }
            </style>
            <title>Acompanhamento de Projetos</title>
        </h:head>


        <h:body style="background: white" >

            <p:layout fullPage="true" id="bd"  >

                <p:layoutUnit id="top"   position="north" size="100" style="margin-top: 0px;margin-bottom: 0px;" collapseSize="20" >
                    <sef:cabecalhoJsf/>
                </p:layoutUnit>

                <p:layoutUnit id="bottom" position="south" size="50" style="width: 100%;"  >
                    <sef:rodape/>
                </p:layoutUnit>

                <p:layoutUnit id="left" position="west" size="223"  resizable="true"  collapsible="true" header="Menu" minSize="200">
                    <sef:menuJSF/>
                </p:layoutUnit>

                <p:layoutUnit id="right" position="east" size="265" header="Utilitários" resizable="true" collapsible="true"
                              style="text-align:center">
                    <h:form id="frmEditor" >
                  

                        <h:outputText style="color: red;font-weight: bold" value="Bloco de Anotações"/>

                        <p:editor id="editor" value="#{ultilMb.value}" width="240"/>

                        <h:panelGrid columns="2" id="grid" style="margin-top:10px">
                            <p:commandButton id="submitButton" value="Salvar"  action="#{ultilMb.setarValue()}"
                                             icon="ui-icon-disk" />
                            <p:commandButton id="clearButton" value="Limpar" update="editor,grid" action="#{ultilMb.apagarValue()}"
                                             icon="ui-icon-close" />
                        </h:panelGrid>


                    </h:form>


                </p:layoutUnit>

                <p:layoutUnit id="center"  position="center">
                    <center>
                        <p:panel  style="border-color: white;" id="pnlSis" header="Sistema Acompanhamento de Projetos - SIAP"  >
                            <ui:insert name="corpo"  >Content</ui:insert>

                        </p:panel>
                    </center>
                </p:layoutUnit>

            </p:layout>



        </h:body>

    </f:view>
</html>